<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>菜鸟教程(runoob.com)</title>
<style>

</style>
<link rel="stylesheet" href="runoob.css">
</head>
<body>

<p>点击按钮，表格按 Name 字段的字母进行排序:</p>
<p><button onclick="sortTable()">点我排序</button></p>

<table id="myTable">
  <tr>
    <th>Name</th>
    <th>url</th>
  </tr>
  <tr>
    <td>Runoob</td>
    <td>www.runoob.com</td>
  </tr>
  <tr>
    <td>Google</td>
    <td>www.google.com</td>
  </tr>
  <tr>
    <td>Baidu</td>
    <td>www.baidu.com</td>
  </tr>
  <tr>
    <td>Zhihu</td>
    <td>www.zhihu.com</td>
  </tr>
  <tr>
    <td>Weibo</td>
    <td>www.weibo.com</td>
  </tr>
  <tr>
    <td>Taobao</td>
    <td>www.taobao.com</td>
  </tr>
  
</table>

<script src="runoob.js"></script>

</body>
</html>